/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package pkg5211100027;

/**
 *
 * @author anggit
 */

public class dosen extends orang {

    private String NIP;
    private String Pengampu;

    public dosen(String nama, String alamatAsal, String NIP, String Pengampu) {
        super(nama, alamatAsal);
        this.NIP = NIP;
        this.Pengampu = Pengampu;

    }

    public String toString() {
        return (super.toString() + "\nNIP : " + NIP + "\nPengampu" + Pengampu);

    }
}